#include <QtGui>

#include <cstdlib>
#include <ctime>

#include "tools.h"
#include "starfield.h"
#include "starfieldview.h"

#include "FractalView.h"
#include "FractalPrinter.h"
#include "Fractal.hpp"
#include "FractalJulia.hpp"
#include "FractalMandel.hpp"
#include "FractalWindow.h"

int main(int argc, char **argv)
{
    QApplication app(argc, argv);

    // ligne suffisante pour initialiser un contexte SDL
    SDLHelpers::SDLContext::instance();

    //FractalView* fractal_view =
    FractalWindow* fractal_window = new FractalWindow(500,600);
    fractal_window->show();

    printf("Fin\n");

    return app.exec();
}
